import java.sql.* ;
class FunCustomerDetails
{

	public static void main(String[] s)
	{

	try
	{


	String[] cs = {"101","rahul","41-A,ganesh vihar","Model town-B","Jagatpura Road","jaipur","rajasthan",
			"India","302017","9462040300","9001433241","girishkumargupfta3@gmail.com" } ;
		//CustomerDetails cd = new CustomerDetails(cs) ;
CustomerDetails cd = new CustomerDetails() ;

//		cd.insertDetailsInDB();..............working successfully...........

			//cd.updateDetailsInDB(cs) ; ..............working successfully...........

			//	ResultSet rs = cd.getCustomerDetails() ; .............working successfully...........

				ResultSet rs = cd.getCustomerDetails(101) ;//.............working successfully...........

				while(rs.next() )
				{
					System.out.println(rs.getInt(1)+" "+rs.getString(2)+" "+rs.getString(3)+" "
					+rs.getString(4)+" "+rs.getString(5)+" "+rs.getString(6)+" "+rs.getString(7)+" "
					+rs.getString(8)+" "+rs.getString(9)+" "+rs.getString(10)+" "+rs.getString(11)+" "
					+rs.getString(12));

				}

				rs.close();

	}
	catch(Exception e)
	{}


	}

}